package cn.magicduck.demo.store;

import java.util.Map;

/**
 * @projectName: design-pattern-demo
 * @className: ICommodity
 * @description: 商品接口
 * @author: MagicDuck
 * @create: 2020-07-16 16:21
 **/
public interface ICommodity {

    /**
     * 发放商品
     * @param uId           用户 ID
     * @param commodityId   奖品 ID
     * @param bizId         业务 ID
     * @param extMap        扩展字段
     * @throws Exception    Exception
     */
    void sendCommodity(String uId, String commodityId, String bizId, Map<String, String> extMap) throws Exception;
}
